/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

export default {
  path: '/EmpHome',
  component: Layout,
  redirect: '/EmpHome/wageEmpHome',
  alwaysShow: true, // will always show the root menu
  name: 'EmpHome',
  meta: {
    title: '首页',
    icon: 'permission'
  },
  children: [
    {
      path: '/EmpHome/wageEmpHome',
      name: 'wageEmpHome',
      component: () => import('@/views/home/wageEmpHome.vue'),
      meta: { title: '绩效专员首页', icon: 'personnel' },
    },
    {
      path: '/EmpHome/fourthHome',
      name: 'fourthHome',
      component: () => import('@/views/home/fourthHome.vue'),
      meta: { title: '四级ceo首页', icon: 'personnel' },
    },
    {
      path: '/EmpHome/thirdHome',
      name: 'thirdHome',
      component: () => import('@/views/home/thirdHome.vue'),
      meta: { title: '三级ceo首页', icon: 'personnel' },
    },
    {
      path: '/EmpHome/secondHome',
      name: 'secondHome',
      component: () => import('@/views/home/secondHome.vue'),
      meta: { title: '二级ceo首页', icon: 'personnel' },
    },
    {
      path: '/EmpHome/wageEmpTaskHome',
      name: 'wageEmpTaskHome',
      component: () => import('@/views/home/task.vue'),
      meta: { title: '绩效专员任务', icon: 'personnel' },
    },
    {
      path: '/EmpHome/empHome',
      name: 'empHome',
      component: () => import('@/views/home/empHome.vue'),
      meta: { title: '普通员工首页', icon: 'personnel' },
    }
  ]
}

